projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebea7d
)
filechooserentry: Avoid an uninitialized value
author
Timm Bäder
<mail@baedert.org>
Thu, 16 Feb 2017 11:23:47 +0000
(12:23 +0100)
committer
Timm Bäder
<mail@baedert.org>
Fri, 17 Feb 2017 17:23:01 +0000
(18:23 +0100)
|= with a garbage value on the left side results in a still-garbage
value.
gtk/gtkfilechooserentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserentry.c
b/gtk/gtkfilechooserentry.c
index e5607c1490999a7655ecccbe30ee7e8458b33118..77f76a667837e32a6d63f0161d407b9dcbc1219d 100644
(file)
--- a/
gtk/gtkfilechooserentry.c
+++ b/
gtk/gtkfilechooserentry.c
@@
-213,7
+213,7
@@
match_func (GtkEntryCompletion *compl,
needed_flags = gtk_file_filter_get_needed (chooser_entry->current_filter);
filter_info.display_name = g_file_info_get_display_name (file_info);
- filter_info.contains
|
= GTK_FILE_FILTER_DISPLAY_NAME;
+ filter_info.contains = GTK_FILE_FILTER_DISPLAY_NAME;
if (needed_flags & GTK_FILE_FILTER_MIME_TYPE)
{